<link rel="stylesheet" href="css/agcfs.pub.css">
<div class="container-fluid">
    <nav class="navbar navbar-default" role="navigation">
        <div class="navbar-header">
            <a class="navbar-brand" href="#">标准经济分类</a>
        </div>
    
	    <form class="navbar-form navbar-left">
		    <div class="input-group">
		        <span class="input-group-addon" id="basic-addon1">会计年度</span>
		        
		        <select class="form-control" id="eacc-search-nd">
		            <option>请选择会计年度</option>
		        </select>                 
		    </div>
	
		    <button type="button" class="btn btn-default" data-bind="click: addEacc">新增</button>
		    <button type="button" class="btn btn-default" data-bind="click: editEacc">编辑</button>
		    <button type="button" class="btn btn-default" data-bind="click: delEacc">删除</button>
		    <div class="btn-group" role="group" aria-label="...">
	        </div>
	    </form>
    </nav>
    <div class="content">
	    <table id="eacc-grid" class="table table-striped table-bordered" cellspacing="0" width="100%">
	        <thead>
	        <tr>
	            <th></th>
	            <th>年度</th>
	            <th>经济分类编码</th>
	            <th>经济分类名称</th>
	            <th>上级编码</th>
	        </tr>
	        </thead>
	        <tbody></tbody>
	        <tfoot>
	        <tr>
	            <th></th>
	            <th>年度</th>
	            <th>经济分类编码</th>
	            <th>经济分类名称</th>
	            <th>上级编码</th>
	        </tr>
	        </tfoot>
	    </table>
    </div>
</div>   
<div class="modal fade" id="delete-eacc-notice" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog infomodal" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title">系统提示</h4>
            </div>

            <div class="modal-body">
                <div class="modal-body-delete">
                    <p id="modal-delete-text">您确定要删除吗？</p>
                </div>
            </div>
            <div class="modal-footer">
                <div class="btn-group" role="group" aria-label="...">
                    <button class="btn btn-primary" data-bind="click: delete_eacc">确定</button>
                    <button class="btn btn-primary" data-bind="click: delete_eacc_close;">取消</button>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="modal fade" id="eacc_edit-notice" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog editmodal" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title">标准经济分类编辑</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal" role="form">
                    
                    <div class="input-group">
                        <span id="span-booknd" class="input-group-addon">&emsp;&emsp;&emsp;&emsp;年度</span>
                        <select id="eacc-edit-nd" class="form-control">
				            <option value="" class="year">全部</option>
				        </select>
                    </div>

                    <div class="input-group">
                        <span class="input-group-addon">经济分类代码</span>
                        <input id="eacc-code" type="text" class="form-control">
                    </div>

                    <div class="input-group">
                        <span class="input-group-addon">经济分类名称</span>
                        <input id="eacc-name" type="text" class="form-control">
                    </div>

                    <div class="input-group">
                        <span class="input-group-addon">&emsp;&emsp;&emsp;父代码</span>
                        <input id="p-code" type="text" class="form-control">
                    </div>
                    
                    <input type="hidden" id="eacc-id">
                </form>
            </div>

            <div class="modal-footer">
            	<span id="warn-text" class="label label-warning warn-span">警告标签</span>
                <div class="btn-group" role="group" aria-label="...">
                    <button class="btn btn-primary" data-bind="click: saveEaccEdit">保存</button>
                    <button class="btn btn-primary" data-bind="click: edit_notice_close">取消</button>
                </div>
            </div>
        </div>
    </div>
</div>
   
    <div class="modal fade" id="error-notice" tabindex="-1" role="dialog" aria-hidden="true">
        <div class="modal-dialog">
            <div class="jump-content error-notice-content">
                <div class="jump-header">
                    <p class="jump-header-title">系统提示</p>
                    <!--data-bind="click: error_notice_close;"-->
                    <a class="jump-header-close" href="javascript:void(0);">
                        <img src="images/ip/menu/close.png" width="12" height="13">
                    </a>
                </div>
                <div class="jump-body">
                    <div class="jump-body-error">
                        <p id="error-text"></p>
                    </div>
                </div>
            </div>
        </div>
    </div>
       
    <div id="save-success-new" class="save-success-new"><img src="images/ip/menu/success_p.png" height="" width=""/>保存成功!</div>
    
